using Avalonia.Controls;
using Avalonia.WebView;
using System;

namespace AvaloniaApp.Views
{
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
            WebView webView = new WebView();
            var browserWrapper = this.FindControl<Decorator>("browserWrapper");
            webView.Url = new Uri("https://www.bilibili.com");
      

            browserWrapper.Child = webView;
        }
    }
}